package com.efast.cafe.commponent.statemach.bean;

import java.io.Serializable;
import java.util.Date;

import com.efast.cafe.util.date.DateUtils;

public class MyStateMachTaskBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1723997447688158994L;

	private Long id;

	/* 配置ID */
	private Long confId;

	/* 状态ID */
	private Long stateId;

	/* 配置名称 */
	private String confName;

	/* 状态名称 */
	private String stateName;

	/* 预计开始时间 */
	private Date pBeginTime;

	/* 预计结束时间间 */
	private Date pEndTime;

	/* 开始时间 */
	private Date beginTime;

	/* 结束时间 */
	private Date endTime;

	private String strBeginTime;

	private String strEndTime;
	/**/
	private String taskUser;
	
	private String resTypeName;

	/* 处理页面连接 */
	private String pageUrl;

	/* 编号 */
	private String taskCode;

	/* 创建人姓名 */
	private String createUserName;

	/* 使用人姓名 */
	private String taskUserName;

	/* 执行人姓名 */
	private String executorName;

	private String extData;
	
	private String isDriver;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getConfId() {
		return confId;
	}

	public void setConfId(Long confId) {
		this.confId = confId;
	}

	public Long getStateId() {
		return stateId;
	}

	public void setStateId(Long stateId) {
		this.stateId = stateId;
	}

	public String getConfName() {
		return confName;
	}

	public void setConfName(String confName) {
		this.confName = confName;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getTaskUser() {
		return taskUser;
	}

	public void setTaskUser(String taskUser) {
		this.taskUser = taskUser;
	}

	public String getStrBeginTime() {
		if (this.beginTime != null) {
			return DateUtils.dateParseString(this.beginTime);
		} else {
			return null;
		}
	}

	public String getStrEndTime() {
		if (this.endTime != null) {
			return DateUtils.dateParseString(this.endTime);
		} else {
			return null;
		}
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getTaskUserName() {
		return taskUserName;
	}

	public void setTaskUserName(String taskUserName) {
		this.taskUserName = taskUserName;
	}

	public String getExecutorName() {
		return executorName;
	}

	public void setExecutorName(String executorName) {
		this.executorName = executorName;
	}

	public String getExtData() {
		return extData;
	}

	public void setExtData(String extData) {
		this.extData = extData;
	}

	public Date getpBeginTime() {
		return pBeginTime;
	}

	public void setpBeginTime(Date pBeginTime) {
		this.pBeginTime = pBeginTime;
	}

	public Date getpEndTime() {
		return pEndTime;
	}

	public void setpEndTime(Date pEndTime) {
		this.pEndTime = pEndTime;
	}

	public String getResTypeName() {
		return resTypeName;
	}

	public void setResTypeName(String resTypeName) {
		this.resTypeName = resTypeName;
	}

	public String getIsDriver() {
		return isDriver;
	}

	public void setIsDriver(String isDriver) {
		this.isDriver = isDriver;
	}
	
}
